package com.dlc.yunguang.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by YoungeTao on 2017/7/20
 * QQ 2276559259.
 * gmail youngetao@gmail.com
 */

public class InventoryRecordBean {

    /**
     * code : 1
     * msg : 查询成功
     * data : [{"id":"7","company_id":"0","warehouse_id":"1","ware_frame_id":"1","warecount":"3","stockcount":"1","diff":"2","rfids":"1233,1232,","ctime":"1501038748","spec_group":[{"spec_id":"1","title":"纯棉毛巾12*12","spec":"12*12","count":"2"}]},{"id":"6","company_id":"0","warehouse_id":"1","ware_frame_id":"1","warecount":"3","stockcount":"1","diff":"2","rfids":"1233,1232,","ctime":"1501038628","spec_group":[{"spec_id":"1","title":"纯棉毛巾12*12","spec":"12*12","count":"2"}]},{"id":"5","company_id":"0","warehouse_id":"1","ware_frame_id":"1","warecount":"3","stockcount":"1","diff":"2","rfids":"null,1233,1232,","ctime":"1501038486","spec_group":[{"spec_id":"1","title":"纯棉毛巾12*12","spec":"12*12","count":"2"}]},{"id":"4","company_id":"0","warehouse_id":"1","ware_frame_id":"1","warecount":"3","stockcount":"1","diff":"2","rfids":"null,1233,1232,","ctime":"1501038437","spec_group":[{"spec_id":"1","title":"纯棉毛巾12*12","spec":"12*12","count":"2"}]},{"id":"3","company_id":"0","warehouse_id":"1","ware_frame_id":"1","warecount":"3","stockcount":"1","diff":"2","rfids":"null,1233,1232,","ctime":"1501038339","spec_group":[{"spec_id":"1","title":"纯棉毛巾12*12","spec":"12*12","count":"2"}]},{"id":"2","company_id":"0","warehouse_id":"1","ware_frame_id":"1","warecount":"3","stockcount":"1","diff":"2","rfids":"null,1233,1232,","ctime":"1501038323","spec_group":[{"spec_id":"1","title":"纯棉毛巾12*12","spec":"12*12","count":"2"}]},{"id":"1","company_id":"0","warehouse_id":"1","ware_frame_id":"1","warecount":"2","stockcount":"2","diff":"0","rfids":"1232,1231","ctime":"0","spec_group":[{"spec_id":"1","title":"纯棉毛巾12*12","spec":"12*12","count":"2"}]}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * id : 7
         * company_id : 0
         * warehouse_id : 1
         * ware_frame_id : 1
         * warecount : 3
         * stockcount : 1
         * diff : 2
         * rfids : 1233,1232,
         * ctime : 1501038748
         * spec_group : [{"spec_id":"1","title":"纯棉毛巾12*12","spec":"12*12","count":"2"}]
         */

        private String id;
        private String company_id;
        private String warehouse_id;
        private String ware_frame_id;
        private String warecount;
        private String stockcount;
        private String diff;
        private String rfids;
        private Long ctime;
        private String warehouse;
        private String frameno;
        private List<SpecGroupBean> spec_group;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCompany_id() {
            return company_id;
        }

        public void setCompany_id(String company_id) {
            this.company_id = company_id;
        }

        public String getWarehouse_id() {
            return warehouse_id;
        }

        public void setWarehouse_id(String warehouse_id) {
            this.warehouse_id = warehouse_id;
        }

        public String getWare_frame_id() {
            return ware_frame_id;
        }

        public void setWare_frame_id(String ware_frame_id) {
            this.ware_frame_id = ware_frame_id;
        }

        public String getWarecount() {
            return warecount;
        }

        public void setWarecount(String warecount) {
            this.warecount = warecount;
        }

        public String getStockcount() {
            return stockcount;
        }

        public void setStockcount(String stockcount) {
            this.stockcount = stockcount;
        }

        public String getDiff() {
            return diff;
        }

        public void setDiff(String diff) {
            this.diff = diff;
        }

        public String getRfids() {
            return rfids;
        }

        public void setRfids(String rfids) {
            this.rfids = rfids;
        }

        public Long getCtime() {
            return ctime;
        }

        public void setCtime(Long ctime) {
            this.ctime = ctime;
        }

        public String getWarehouse() {
            return warehouse;
        }

        public void setWarehouse(String warehouse) {
            this.warehouse = warehouse;
        }

        public String getFrameno() {
            return frameno;
        }

        public void setFrameno(String frameno) {
            this.frameno = frameno;
        }

        public List<SpecGroupBean> getSpec_group() {
            return spec_group;
        }

        public void setSpec_group(List<SpecGroupBean> spec_group) {
            this.spec_group = spec_group;
        }

        public static class SpecGroupBean implements Serializable{
            /**
             * spec_id : 1
             * title : 纯棉毛巾12*12
             * spec : 12*12
             * count : 2
             */

            private String spec_id;
            private String title;
            private String spec;
            private String count;

            public String getSpec_id() {
                return spec_id;
            }

            public void setSpec_id(String spec_id) {
                this.spec_id = spec_id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getSpec() {
                return spec;
            }

            public void setSpec(String spec) {
                this.spec = spec;
            }

            public String getCount() {
                return count;
            }

            public void setCount(String count) {
                this.count = count;
            }
        }
    }
}
